package top.buyibuyi.course.pojo;

import lombok.Data;

import java.io.Serializable;

@Data
public class Course implements Serializable {
    private int id;
    private String cname;
    private String learntime;


    @Override
    public String toString() {
        return "Course{" +
                "id=" + id +
                ", cname='" + cname + '\'' +
                ", learntime='" + learntime + '\'' +
                ", credit='" + credit + '\'' +
                ", peacetime=" + peacetime +
                ", picture='" + picture + '\'' +
                ", state='" + state + '\'' +
                ", midterm=" + midterm +
                ", finalc=" + finalc +
                ", skill=" + skill +
                ", belongto=" + belongto +
                ", cgroup=" + cgroup +
                '}';
    }

    private String credit;
    private int peacetime;
    private String picture;
    private String state;

    private int midterm;
    private int finalc;
    private int skill;
    private String belongto;
    private int cgroup;
}
